package xyz.ddlnt.servicemq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.ddlnt.model.entity.Post;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/25 20:36
 */
public interface PostService extends IService<Post> {
    /**
     * 帖子收藏数加1
     * @param postId
     */
    void collectCountPlusOne(Long postId);

    /**
     * 帖子收藏数减1
     * @param postId
     */
    void collectCountMinusOne(Long postId);
}
